<h1>Delete Contact</h1>

<p>Are you sure you want to delete the contact {{ morador }}?</p>

<form action="{% url "delete" pk=morador.id %}" method="POST">
  {% csrf_token %}

  <input type="submit" value="Yes, delete." />
  <a href="{% url "list" %}">No, cancel.</a>
</form>